package com.smart.buss.vo.resp;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.smart.primary.common.page.Page;
/**
 * 任务表
 */
public class BussTaskResp  extends Page{
    private String	id;		//,字段长度32
    private String	remarks;		//说明信息,字段长度255
    private String	name;		//任务名,字段长度255
    private String	imgIcon;		//任务图标,字段长度255
    private Integer	fnum;		//份数,字段长度10
    private Double	userPrice;		//用户奖励,字段长度10
    private Integer	startNum;		//已开始人数,字段长度10
    private String	imgShili;		//任务图标,字段长度21845
    private String	skipHerf;		//跳转链接,字段长度21845
    private Integer	timeOut;		//超时时间,字段长度21845
    private String	pingtai;		//超时时间,字段长度21845
    private Integer	taskStatus;		//任务状态,字段长度1
    private Integer	shenheStatus;	// 审核状态,字段长度1
    private String	imgUploadShili;		//上传的示例

    public String getImgUploadShili() {
        return imgUploadShili;
    }

    public void setImgUploadShili(String imgUploadShili) {
        this.imgUploadShili = imgUploadShili == null ? null : imgUploadShili.trim();
    }
    public Integer getShenheStatus() {
        return shenheStatus;
    }

    public void setShenheStatus(Integer shenheStatus) {
        this.shenheStatus = shenheStatus;
    }

    public String getSurpNum() {
        return "剩"+(fnum-startNum)+"份";
    }
    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }

    private Integer	sout;		//超时时间

    public Integer getSout() {
        return sout;
    }

    public void setSout(Integer sout) {
        this.sout = sout;
    }

    public String getPingtai() {
            switch (this.pingtai){
                case "0" :
                    return "Ios";
                case "1" :
                    return "Android";
                default:
                    return "all";
            }
    }

    public void setPingtai(String pingtai) {
        this.pingtai = pingtai == null ? null : pingtai.trim();
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getImgIcon() {
        return imgIcon;
    }

    public void setImgIcon(String imgIcon) {
        this.imgIcon = imgIcon == null ? null : imgIcon.trim();
    }

    public Integer getFnum() {
        return fnum;
    }

    public void setFnum(Integer fnum) {
        this.fnum = fnum;
    }

    public Double getUserPrice() {
        return userPrice;
    }

    public void setUserPrice(Double userPrice) {
        this.userPrice = userPrice;
    }

    public Integer getStartNum() {
        return startNum;
    }

    public void setStartNum(Integer startNum) {
        this.startNum = startNum;
    }

    public String getImgShili() {
        return imgShili;
    }

    public void setImgShili(String imgShili) {
        this.imgShili = imgShili == null ? null : imgShili.trim();
    }

    public String getSkipHerf() {
        return skipHerf;
    }

    public void setSkipHerf(String skipHerf) {
        this.skipHerf = skipHerf == null ? null : skipHerf.trim();
    }

    public Integer getTimeOut() {
        return timeOut;
    }

    public void setTimeOut(Integer timeOut) {
        this.timeOut = timeOut;
    }
}
